import router from "./router/index";

router.beforeEach((to, from, next) => {
  const { query } = to;
  if (query.token) {
    localStorage.setItem("fuhuibatoken", query.token);
  }
  next();
});
